using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;


namespace CoVua
{
    public partial class frmNhanVatNam : Form
    {
        public frmNhanVatNam()
        {
            InitializeComponent();
        }

        private void picNam1_Click(object sender, EventArgs e)
        {
            Form1 f = (Form1)this.Owner;
            f.picNhanVatNam.Image = picNam1.Image;
            
            
        }

        private void picNam2_Click(object sender, EventArgs e)
        {
            Form1 f = (Form1)this.Owner;
            f.picNhanVatNam.Image = picNam2.Image;
        }

        private void picNam3_Click(object sender, EventArgs e)
        {
            Form1 f = (Form1)this.Owner;
            f.picNhanVatNam.Image = picNam3.Image;
        }

        private void picNam4_Click(object sender, EventArgs e)
        {
            Form1 f = (Form1)this.Owner;
            f.picNhanVatNam.Image = picNam4.Image;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        

    }
}